package model

import "github.com/jinzhu/gorm"

type Danmu struct {
	gorm.Model
	Vid uint `gorm:"not null"`
	Uid uint `gorm:"not null"`
	Text string `gorm:"type:varchar(50);not null"`
	Time string `gorm:"type:varchar(20);not null"`
	Color string `gorm:"type:varchar(10);not null"`
	Type string `gorm:"type:varchar(10)"`
}

